• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

JDK 소스 기반

자바 JDK 의 원본 코드 를 기반 으로 String 1

첫 번 째 코드 에서 str 는 인용 형식 으로 string pool 에 저 장 된 'hello wolrd' 저장 소 를 가리 키 고 있 습 니 다.str 1, str 2 도 인용 형식 이지 만 그들 이 가리 키 는 유형 은 string pool 이 아니 라 쌓 여 있 습 니 다.str 2 는 더 특별 하 다, String str 2 = new String ("the world");실행 이 ...

자바StringpoolJDK 소스 기반

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more